find_package(GTest REQUIRED)

# 'gRPC_CARES_PROVIDER' is set as 'package', which means c-ares library needs
# to be installed on the system, instead of being built by gRPC.
find_package(c-ares REQUIRED)
find_package(grpc REQUIRED)
find_package(cpr REQUIRED)

set(BUILD_TESTING ON)
include(CTest) # include after project() but before add_subdirectory()

add_subdirectory(buffer)
add_subdirectory(common)
#add_subdirectory(connectors)
add_subdirectory(core)
add_subdirectory(duckdb)
add_subdirectory(dwio)
#add_subdirectory(exec)
#add_subdirectory(experimental)
add_subdirectory(expression)
add_subdirectory(functions)
add_subdirectory(parse)
add_subdirectory(row)
add_subdirectory(runner)
add_subdirectory(serializers)
add_subdirectory(substrait)
#add_subdirectory(tool)
add_subdirectory(tpch)
add_subdirectory(type)
add_subdirectory(vector)